package com.zhijian.warehouse.manage.service;

import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

/**
 * @Author chengqing
 * @Date 2020年6月28日 下午3:14:47
 * @Version 1.0.1
 */
public interface ItsmService {

    boolean upApk(MultipartFile file, String sk);

    /**
     * 升级
     *
     * @param file
     * @param sk
     * @return
     */
    public boolean upgrade(MultipartFile file, String sk);

    String puCreateSK(String startTime, String endTime, String fileName) throws Exception;

    /**
     * 查询日志
     *
     * @param date
     * @return
     */
    public List<Map<String, Object>> selectLogs(String date);

    /**
     * 下载日志
     *
     * @param fileName
     * @param response
     */
    public void downloadLog(String fileName, HttpServletResponse response);
}
